package arraysCommonMethods;

import java.util.Arrays;

/**
 * @ClassName ArraysBinarySearch
 * @Description TODO
 * @Author 李明忠
 * @Date 2025/5/21 21:17
 * @Version 1.0
 */
public class ArraysBinarySearch {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4,5,6,7,8,9,10};
        int tmp = Arrays.binarySearch(arr,4);
        System.out.println(tmp);
    }
}
